软考真题
第60题
执行下面C语言程序段的结果是( )
main ( ) {
int x=l,a=l,b=l;
switch(x) {
case 0: b++;
case 1: a++;
case 2: a++; b++;
}
printf (”a=%d,b=%d“, a, b);
}